package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.pojo.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author testjava
 * @since 2022-08-20
 */
@Mapper
public interface RoleMapper extends BaseMapper<Role> {
    List<Role> selectUserRoles(@Param("uid") Integer uid);
}
